package com.taojin.shoppinginterest.activity;

import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.ActionBarActivity;

import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.ContentView;
import com.taojin.shoppinginterest.R;
import com.taojin.shoppinginterest.fragment.FavorableFragment;

/**
 * Created by T400 on 15-5-14.
 */
@ContentView(R.layout.attention_activity)
public class AttentionActivity extends ActionBarActivity {
    private FragmentManager fm;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ViewUtils.inject(this);
        fm=getSupportFragmentManager();
        fm.beginTransaction().add(R.id.framelayout_main,new FavorableFragment()).commit();
    }
}
